import React from 'react';
import {render} from 'ader';
import MainAction from '../../actions/MainAction';
import './index.less';
import { Button, Input, Tabs, Table, Modal } from 'antd';
import ModelList from '../../components/ModelsList';

const {TabPane} = Tabs

export default render({
    actions: {
        main: MainAction
    },
    models: ['main']
})(({props, state, action}) => {

    const {main} = props;

    return (
        <div className="page-wrapper">
            <Tabs
                activeKey={main.currentPage}
            >
                <TabPane
                    key="model"
                    tab="数据模型"
                >
                    <ModelList />
                </TabPane>
            </Tabs>
        </div>
    );

});